package com.ssm.pojo;

import org.apache.ibatis.type.Alias;
import org.springframework.stereotype.Component;
import java.io.Serializable;

@Alias("Type")
@Component
public class Type implements Serializable {

  /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
private long id;
  private String tname;
  

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getName() {
    return tname;
  }

  public void setName(String name) {
    this.tname = tname;
  }


  
  @Override
  public String toString() {
    return "Type{" +
            "id=" + id +
            ", name='" + tname +
            '}';
  }
}
